// 菜品

import request from '@/utils/request'
import R from '@/types/conduit/R'
import DishFlavor from '@/types/entity/DishFlavor'

export const selectShopDishFlavor = (keyword: string, max: number): Promise<R<DishFlavor[]>> =>
  request({
    url: `/shop/dish-flavor/selectShopDishFlavor`,
    method: 'GET',
    params: { keyword, max }
  })
